package com.tuanzi.loan.business.service.settlement;

import com.tuanzi.loan.business.entity.settlement.SettlementPriceChangeRecord;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlement.SettlementPriceChangeRecordRequest;
import com.tuanzi.loan.vo.response.settlement.SettlementPriceChangeRecordResponse;
import org.springframework.data.domain.Page;

/**
 * @author caiwanlin
 * @create 2018-01-16 16:21
 */
public interface SettlementPriceChangeRecordService extends BaseAuditService<SettlementPriceChangeRecord,Long> {
    /**
     * 分页查找价格变更记录
     * @param pageSearcher
     * @return
     */
    Page<SettlementPriceChangeRecordResponse> list(PageSearcher<SettlementPriceChangeRecordRequest> pageSearcher);

    /**
     * 在新增页面的查询
     * @param record
     * @return
     */
    void findCompanyInfo(SettlementPriceChangeRecord record);

    /**
     *
     */
    SettlementPriceChangeRecord saveChangeRecord(SettlementPriceChangeRecord record);

}
